package com.qriver.modules;

import java.util.Arrays;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;

@SpringCloudApplication
@EnableDiscoveryClient
//@EnableAuthorizationServer
public class Provider1Application {
	
	public static void main(String[] args) {
		SpringApplication.run(Provider1Application.class, args);
	}
//	@Autowired
//	private AuthenticationProvider authenticationProvider;

	/*
	 * @Bean public AuthenticationManager authenticationManager(){ return new
	 * ProviderManager(Arrays.asList(authenticationProvider)); }
	 */
}
